package com.niguang.work.labour.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.niguang.work.labour.api.entity.SiteUser;
import com.niguang.work.labour.api.mapper.SiteUserMapper;
import com.niguang.work.labour.api.service.SiteUserService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE 服务实现类
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
@Service
public class SiteUserServiceImpl extends ServiceImpl<SiteUserMapper, SiteUser> implements SiteUserService {

    @Override
    public List<SiteUser> getSiteUserByUserTeamId(Long teamUserId, Long id) {
        return baseMapper.getSiteUserByUserTeamId(teamUserId, id);
    }
}
